package org.base.sys.service;

    import org.base.sys.pojo.SysRoleMenuPermission;
import org.base.common.service.IService;
import org.base.sys.query.SysRoleMenuPermissionQuery;

    import java.util.List;

/**
 * <p>
 * 角色和菜单权限关联 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2020-05-31
 */
public interface SysRoleMenuPermissionService extends IService<SysRoleMenuPermission, SysRoleMenuPermissionQuery> {

    List<Long> getRoleMenuPermissionIds(Long roleId);

    void updateRoleMenuPermissions(Long roleId, List<Long> menuPermissionIds);

    List<Long> getRolesMenuPermissionIds(List<Long> roleIds);

}
